package com.huoyun.car.service;

import java.util.List;

import com.huoyun.car.bean.NormallyTransportRoute;
import com.huoyun.car.model.NormallyTransportRouteModel;

/**
 * "常跑路线"的service类
 * @ClassName NormallyTransportRouteService
 * @author ChengXin
 * @date 2012-12-16
 */
public interface NormallyTransportRouteService
{
	/**
	 * 保存一条新的常跑路线
	 * @param route
	 * @author ChengXin
	 */
	public void save(NormallyTransportRoute route);
	
	/**
	 * 更新一条常跑路线的全部内容
	 * @param route
	 * @author ChengXin
	 */
	public void updateAll(NormallyTransportRoute route);
	
	/**
	 * 获取指定用户的所有常规路线
	 * @param userId
	 * @return 详细常规信息列表
	 * @author ChengXin
	 */
	public List<NormallyTransportRouteModel> getModelListByUserId(long userId);
	
	/**
	 * 删除指定id的常跑路线
	 * @param ntRouteId
	 * @author ChengXin
	 */
	public void deleteRouteById(long ntRouteId);
}
